load("//eden/scm:targets.bzl", "rust_python_library")

oncall("sapling")

rust_python_library(
    name = "pyexchange",
    srcs = glob(["src/**/*.rs"]),
    crate_root = "src/lib.rs",
    deps = [
        "//eden/scm/lib/config/model:configmodel",
        "//eden/scm/lib/cpython-ext:cpython-ext",
        "//eden/scm/lib/exchange:exchange",
        "//eden/scm/lib/types:types",
        "//eden/scm/saplingnative/bindings/modules/pydag:pydag",
        "//eden/scm/saplingnative/bindings/modules/pyedenapi:pyedenapi",
        "//eden/scm/saplingnative/bindings/modules/pymetalog:pymetalog",
    ],
)
